package com.xjrh.travel.data.apply.service;

import com.xjrh.travel.data.apply.dao.StationWaveDetectionDao;
import com.xjrh.travel.entity.wave.StationWaveDetection;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;

/**
 * 站点区间波磨检查记录Service
 *
 * @author snps
 * @create 2025-10-30 23:07
 * @describe
 **/
@Service("stationWaveDetectionService")
public class StationWaveDetectionService {

    @Resource
    private StationWaveDetectionDao stationWaveDetectionDao;


    /**
     * 获取一个没有执行算法的波磨检测任务
     *
     * @param dataDate 数据日期
     * @return StationWaveDetection
     */
    public StationWaveDetection getOneNoCheckData(String dataDate) {
        return stationWaveDetectionDao.getOneNoCheckData(dataDate);
    }

    /**
     * 设置波磨检测任务执行结果
     *
     * @param entity StationWaveDetection
     */
    public void setResult(StationWaveDetection entity) {
        stationWaveDetectionDao.setResult(entity);
    }


}